#ifndef XCHECKBOX_H
#define XCHECKBOX_H

#include "XSystem/XWidget.h"

class XCheckBox : public XWidget
{
	public:
		XCheckBox(XResourcesManager *data, int positionX, int positionY);
		void Draw();
		void CheckState(const sf::Input &input);

		void SetCheck(bool isChecked);
		bool IsChecked();

	protected:
		sf::Sprite x_checkboxSprite;
		sf::Sprite x_checkboxCheckedSprite;

		bool x_isChecked;
};

#endif